package com.lagou.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lagou.order.mapper.OrderMapper;
import com.lagou.order.pojo.Order;
import com.lagou.order.service.OrderService;
import org.springframework.stereotype.Service;

/**
 * 订单服务实现类
 * @author yzh
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService<Order> {

    @Override
    public long getNewOrderId() {
        return this.baseMapper.getNewOrderId();
    }
}
